package com.lizhen.behaviorpattern.visitorpattern;

import com.lizhen.behaviorpattern.visitorpattern.impl.Computer;
import com.lizhen.behaviorpattern.visitorpattern.impl.ComputerPartDisplayVisitor;

public class VisitorPattern {
    public VisitorPattern() {
    }

    public static void main(String[] args) {
        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
